<?php !defined('INC') && exit('Load failure!'); ?>
{?
$name=$title='个人中心';
if(!$u->info['islogin']) kc_tip('<p>请先登录!</p>');
$info=$u->getInfo($u->id);
if(empty($info)) kc_tip('<p>记录为空!</p>');
?}
{#include file='include/top.php'}

<div class="w_960">
	{#include file="block/left.php"}
	
	<div class="w_700 fr mb10">

	<div class="nav mb10">
	<strong>当前位置</strong> | <a title="首页" href="{DIR}">首页</a>  |  <a href="{DIR}?user-info" title="会员中心">会员中心</a>
	</div>

	<div class="t_1"><div><h3>会员中心</h3></div></div>
	<div class="f_1 pa10 user_box">
			<div class="user_avatar">
				<a href="javascript:;" title="修改头像"><img src="?user-avatar-{$info[userid]}" alt="修改头像" /><span>修改头像</span></a>
			</div>
			<div class="user_info">
				<div class="user_title">
					<strong>{$info[username]}</strong>
					 {@count_pm.count table='%s_user_pm' where="userid={$info['userid']} and islook=0" cache='0'}							
					<span>您共有 <a href="{DIR}?user-pm" title="短信">{?=$count_pm?}</a> 条短信</span>
				</div>
				<div class="user_list">
					<p><strong>联系人：</strong>{$u->info['name']}<a href="{DIR}?user-edit">[编辑]</a></p>
					<p><strong>电话：</strong>{$u->info['tel']}</p>
					<p><strong>QQ号：</strong>{$u->info['qq']}</p>
					<p><strong>邮件：</strong>{$u->info['email']}</p>				
				</div>
			</div>
	</div>
	
	</div>
	
</div>

{#include file='include/bottom.php'}

</body>
</html>